home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / AIncludes / OCEErrors.a < prev    next >
Encoding:
Text File  |  1997-08-12  |  17.5 KB  |  313 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        OCEErrors.a
  3. ;
  4. ;    Contains:    Apple Open Collaboration Environment Error Interfaces.
  5. ;
  6. ;    Version:    Technology:    AOCE Toolbox 1.02
  7. ;                Release:    Universal Interfaces 3.0.1
  8. ;
  9. ;    Copyright:    Â© 1994-1997 by Apple Computer, Inc., all rights reserved.
  10. ;
  11. ;    Bugs?:        Please include the the file and version information (from above) with
  12. ;                the problem description.  Developers belonging to one of the Apple
  13. ;                developer programs can submit bug reports to:
  14. ;
  15. ;                    devsupport@apple.com
  16. ;
  17. ;
  18.     IF &TYPE('__OCEERRORS__') = 'UNDEFINED' THEN
  19. __OCEERRORS__ SET 1
  20.  
  21.     IF &TYPE('__ERRORS__') = 'UNDEFINED' THEN
  22.     include 'Errors.a'
  23.     ENDIF
  24.  
  25. ;Allocated ranges:
  26. ;    AOCE General Errors                        -1500 to -1539
  27. ;    AOCE Authentication Errors                -1540 to -1609
  28. ;    AOCE Catalog Errors                        -1610 to -1680
  29. ;    
  30. ;    AOCE Standard Mail Errors                -1900 to -1949
  31. ;    AOCE Standard Catalog Errors            -1950 to -1969
  32. ;    AOCE Digital Signature Errors            -1970 to -1999
  33. ;
  34. ;    AOCE Templates Errors                    -15000 to -15039
  35. ;    AOCE Mail Errors                        -15040 to -15089
  36. ;    AOCE Messaging Errors                    -15090 to -15169
  37. ;    Reserved for future                        -15170 to -15199
  38. ;
  39.  
  40.  
  41. ;  AOCE General Errors (-1500 to -1539) 
  42.  
  43. kOCEToolboxNotOpen                EQU        -1500                ; Toolbox not open; perhaps its closing 
  44. kOCEInvalidCommand                EQU        -1501                ; Request code passed to a trap call is invalid 
  45. kOCEInvalidRef                    EQU        -1502                ; a reference to an object is obsolete or invalid 
  46. kOCEBufferTooSmall                EQU        -1503                ; the buffer supplied is too small for the task 
  47. kOCEVersionErr                    EQU        -1504                ; some manner of software version mismatch 
  48. kOCESyncAsyncErr                EQU        -1505                ; Op tried synchronously may only be done async, or vice versa 
  49. kOCEInternalErr                    EQU        -1506                ; the OCE toolbox has an internal error 
  50. kOCENotAnOwner                    EQU        -1507                ; this operation can only be done by the object's owner 
  51. kOCENotImplemented                EQU        -1508                ; Feature not implemented 
  52. kOCENotAuthenticated            EQU        -1509                ; The user must be authenticated 
  53. kOCEAlreadyExists                EQU        -1510                ; The object being added already exists 
  54. kOCEDoesntExist                    EQU        -1511                ; the object being referenced doesn't exist or cannot be found 
  55. kOCEConnectionErr                EQU        -1512                ; Unable to open or maintain a network transport 
  56. kOCEConnectionClosed            EQU        -1513                ; Connect has closed 
  57. kOCEInvalidRecipient            EQU        -1514                ; Invalid recipient/address for this command 
  58. kOCEInvalidIndex                EQU        -1515                ; invalid index (out of range) 
  59. kOCERefIsClosing                EQU        -1516                ; Object references is being closed, cannot complete command 
  60. kOCEHasPendingMsgs                EQU        -1517
  61. kOCEInvalidConfiguration        EQU        -1518
  62. kOCERequiredServicesNotAvailable EQU    -1519
  63. kOCEServerInactive                EQU        -1520
  64. kOCEMoreDiskSpaceNeeded            EQU        -1521                ; Inadequate disk space to safely complete operation 
  65. kOCEParamErr                    EQU        -50                    ; invalid parameter passed to toolbox 
  66. ;  AOCE Authentication Errors (-1540 to -1609) 
  67.  
  68. kOCEReadAccessDenied            EQU        -1540
  69. kOCEWriteAccessDenied            EQU        -1541
  70. kOCEAccessRightsInsufficient    EQU        -1542                ; stream needs to be authenticated, or not authorized, or someone other than agent trying to TPFC, or problem in server-to-server authentication 
  71. kOCEUnsupportedCredentialsVersion EQU    -1543                ; don't know how to read that version of credentials 
  72. kOCECredentialsProblem            EQU        -1544                ; couldn't successfully decrypt credentials 
  73. kOCECredentialsImmature            EQU        -1545                ; current time < first valid time 
  74. kOCECredentialsExpired            EQU        -1546                ; current time > expiry time 
  75. kOCEProxyImmature                EQU        -1547                ; current time < proxy start time 
  76. kOCEProxyExpired                EQU        -1548                ; current time > proxy expiry time 
  77. kOCEDisallowedRecipient            EQU        -1549                ; Recipient not specified in proxy 
  78. kOCENoKeyFound                    EQU        -1550                ; found no key for entity in question 
  79. kOCEPrincipalKeyNotFound        EQU        -1551                ; couldn't decode proxy because principal has no key 
  80. kOCERecipientKeyNotFound        EQU        -1552                ; recipient has no key 
  81. kOCEAgentKeyNotFound            EQU        -1553                ; in TPFC, agent has no key 
  82. kOCEKeyAlreadyRegistered        EQU        -1554                ; entity already has a key 
  83. kOCEMalformedKey                EQU        -1555                ; key is of an unknown encryption method, or key doesn't match password 
  84. kOCEUndesirableKey                EQU        -1556                ; password too short, key too simple, or trying to change cluster key to the same value 
  85. kOCEWrongIdentityOrKey            EQU        -1557                ; In CheckIdentity, name doesn't exist or key is wrong 
  86. kOCEInitiatorKeyProblem            EQU        -1558                ; either we couldn't find the initiator's key or we found it but couldn't successfully decrypt instructions or proxy 
  87. kOCEBadEncryptionMethod            EQU        -1559                ; the specified encryption method is not supported 
  88. kOCELocalIdentityDoesNotExist    EQU        -1560                ; LocalIdentity has to be setup 
  89. kOCELocalAuthenticationFail        EQU        -1561                ; LocalIdentity Login has to be done for this operation 
  90. kOCELocalIdentitySetupExists    EQU        -1562                ; LocalIdentity setup exists, use change instead of setup 
  91. kOCEDirectoryIdentitySetupExists EQU    -1563                ; DirectoryIdentity setup exists, use change instead of setup 
  92. kOCEDirectoryIdentitySetupDoesNotExist EQU -1564            ; DirectoryIdentity setup does not exist 
  93. kOCENotLocalIdentity            EQU        -1565                ; Use LocalIdentity calls instead! 
  94. kOCENoMoreIDs                    EQU        -1566                ; identity table is full 
  95. kOCEUnknownID                    EQU        -1567                ; identity passed is not valid 
  96. kOCEOperationDenied                EQU        -1568                ; LocalID operation denied 
  97. kOCEAmbiguousMatches            EQU        -1569                ; ambiguous matches found in resolving CIDs (more than 1 CID) 
  98. kOCENoASDSPWorkSpace            EQU        -1570                ; No ASDSP workspace passed for Open Secure Stream 
  99. kOCEAuthenticationTrouble        EQU        -1571                ; generic authentication problem 
  100. ;  AOCE Catalog Errors (-1610 to -1680) 
  101.  
  102. kOCENotLocal                    EQU        -1610                ; the server does not serve the requested dNode 
  103. kOCETooBusy                        EQU        -1611                ; server cannot complete call at this time 
  104. kOCEDatabaseFull                EQU        -1612                ; disk is full 
  105. kOCETargetDirectoryInaccessible    EQU        -1613                ; Catalog server not responding 
  106. kOCEBogusArgs                    EQU        -1614                ; Args not formatted correctly on the wire 
  107. kOCENoSuchDNode                    EQU        -1615                ; the requested dNode does not exist 
  108. kOCEDNodeUnavailable            EQU        -1616                ; could not find any servers that serve the requested dNode 
  109. kOCEBadRecordID                    EQU        -1617                ; invalid RecordID (usually name and/or type don't match cid) 
  110. kOCENoSuchRecord                EQU        -1618                ; the specified record does not exist 
  111. kOCENoSuchAttributeValue        EQU        -1619                ; The attribute value that was passed in does not exist 
  112. kOCENoSuchPseudonym                EQU        -1620                ; the specified pseudonym does not exist 
  113. kOCEAttributeValueTooBig        EQU        -1621                ; self-explanatory 
  114. kOCETypeExists                    EQU        -1622                ; The type already exists in the record 
  115. kOCEMoreData                    EQU        -1623                ; only a warning - buffer not big enough 
  116. kOCERefNumBad                    EQU        -1624                ; RefNum is not valid 
  117. kOCEStreamCreationErr            EQU        -1625                ; problem creating stream 
  118. kOCEOperationNotSupported        EQU        -1626                ; the specified catalog does not support this operation 
  119. kOCEPABNotOpen                    EQU        -1627                ; specified Personal Catalog is not open to make the operation 
  120. kOCEDSAMInstallErr                EQU        -1628                ; specified CSAM could not be installed 
  121. kOCEDirListFullErr                EQU        -1629                ; catalog list is full, try removing an entry 
  122. kOCEDirectoryNotFoundErr        EQU        -1630                ; catalog was not found in the list 
  123. kOCEAbortNotSupportedForThisCall EQU    -1631                ; this call cannot be aborted 
  124. kOCEAborted                        EQU        -1632                ; this call was aborted 
  125. kOCEOCESetupRequired            EQU        -1633                ; LocalIdentity Setup is required 
  126. kOCEDSAMRecordNotFound            EQU        -1634                ; CSAM Record not found 
  127. kOCEDSAMNotInstantiated            EQU        -1635                ; CSAM is not instantiated 
  128. kOCEDSAMRecordExists            EQU        -1636                ; CSAM record already exists 
  129. kOCELengthError                    EQU        -1637                ; supplied buffer was too small 
  130. kOCEBadStartingRecord            EQU        -1638                ; Lookup starting record is not within range 
  131. kOCEBadStartingAttribute        EQU        -1639                ; Lookup starting attribute is not within range 
  132. kOCEMoreAttrValue                EQU        -1640                ; attribute value could not fit into buffer (even though it was the only value) 
  133. kOCENoDupAllowed                EQU        -1641
  134. kOCENoSuchAttributeType            EQU        -1642
  135. kOCEMiscError                    EQU        -1643                ; some other error 
  136. kOCENoSuchIcon                    EQU        -1644                ; no matching icon from GetDirectoryIcon 
  137. kOCERLIsDontMatch                EQU        -1645                ; RLIs do not match in lookup 
  138. kOCEDirectoryCorrupt            EQU        -1646                ; Serious disk fill corruption problem 
  139. ;  AOCE Standard Mail Errors (-1900 to -1949) 
  140.  
  141. kSMPNotEnoughMemoryForAllRecips    EQU        -1900
  142. kSMPCopyInProgress                EQU        -1901
  143. kSMPMailerNotInitialized        EQU        -1902
  144. kSMPShouldNotAddContent            EQU        -1903
  145. kSMPMailboxNotFound                EQU        -1904
  146. kSMPNoNextLetter                EQU        -1905
  147. kSMPHasOpenAttachments            EQU        -1906
  148. kSMPFinderNotRunning            EQU        -1907
  149. kSMPCommandDisabled                EQU        -1908
  150. kSMPNoMailerInWindow            EQU        -1909
  151. kSMPNoSuchAddress                EQU        -1910
  152. kSMPMailerAlreadyInWindow        EQU        -1911
  153. kSMPMailerUneditable            EQU        -1912
  154. kSMPNoMatchingBegin                EQU        -1913
  155. kSMPCannotSendReceivedLetter    EQU        -1914
  156. kSMPIllegalForDraftLetter        EQU        -1915
  157. kSMPMailerCannotExpandOrContract EQU    -1916
  158. kSMPMailerAlreadyExpandedOrContracted EQU -1917
  159. kSMPIllegalComponent            EQU        -1918
  160. kSMPMailerAlreadyNotTarget        EQU        -1919
  161. kSMPComponentIsAlreadyTarget    EQU        -1920
  162. kSMPRecordDoesNotContainAddress    EQU        -1921
  163. kSMPAddressAlreadyInList        EQU        -1922
  164. kSMPIllegalSendFormats            EQU        -1923
  165. kSMPInvalidAddressString        EQU        -1924
  166. kSMPSubjectTooBig                EQU        -1925
  167. kSMPParamCountErr                EQU        -1926                ;  enclosure count != 1, while sendEnclosure Only == true. 
  168. kSMPTooManyPages                EQU        -1927                ;  Exceeding the image page limit. 
  169. kSMPTooManyEnclosures            EQU        -1928
  170. ;  AOCE Standard Catalog Errors (-1950 to -1969) 
  171.  
  172. kSDPNoSearchText                EQU        -1950
  173. kSDPTooManyLoginAttempts        EQU        -1951
  174. kSDPNoSelection                    EQU        -1952
  175. kSDPPersonalDirectoryRepairFailed EQU    -1953
  176. ;  AOCE Digital Signature Errors (-1970 to -1999) 
  177.  
  178. kSIGOperationIncompatibleErr    EQU        -1970                ; context in use for different type of operation 
  179. kSIGCertificateQueryDenied        EQU        -1971                ; can't query certificates with this context 
  180. kSIGVerifyFailedErr                EQU        -1972                ; verification failed 
  181. kSIGInvalidCredentialErr        EQU        -1973                ; verified OK but credential out of date,  either pending or expired 
  182. kSIGIndexErr                    EQU        -1974                ; the index given is outside the range of allowable values 
  183. kSIGSignerErr                    EQU        -1975                ; problem with the signer or signature itself 
  184. kSIGPasswordErr                    EQU        -1976                ; password is incorrect 
  185. kSIGInternalsErr                EQU        -1977                ; an internal error occurred like a bad digest, context or signature 
  186. kSIGToolboxNotPresentErr        EQU        -1978                ; for client services (ie servers) to report back - not retruned by the TB 
  187. kSIGContextPrepareErr            EQU        -1979                ; context either prepared with VerifyPrepare, SignPrepare or DigestPrepare already or has been corrupted 
  188. kSIGNoDigestErr                    EQU        -1980                ; no digest in the signature 
  189. kSIGConversionErr                EQU        -1981                ; unabled to convert an attribute to Mac format 
  190. kSIGSignerNotValidErr            EQU        -1982                ; Signer has either expired or is pending and can not sign 
  191. kSIGNoSignature                    EQU        -1983                ; standard file signature not found 
  192. ;  AOCE Templates Errors (-15000 to -15039) 
  193.  
  194. kDETInvalidTargetAspectName        EQU        -15000                ; Could not locate an aspect by name 
  195. kDETInvalidTargetItemNumber        EQU        -15001                ; Item number is target invalid (out of range 1..<number of children>) 
  196. kDETInvalidTargetFromNonAspect    EQU        -15002                ; Target selection relative to non-aspect object which requires an aspect 
  197. kDETInvalidTargetDSSpec            EQU        -15003                ; Target DSSpec could not be resolved 
  198. kDETUnknownTargetSelector        EQU        -15004                ; Unknown selector type for target specification 
  199. kDETInvalidTarget                EQU        -15005                ; Target specification was invalid (for reasons other than those above) 
  200. kDETTargetNotAnAspect            EQU        -15006                ; Specified target object was not an aspect 
  201. kDETInvalidCommandItemNumber    EQU        -15007                ; Command item number invalid (out of range 1..<number of items in selection>) 
  202. kDETUnableToGetCommandItemSpec    EQU        -15008                ; Unable to retrieve item specification (internal error, possibly out of memory) 
  203. kDETRequestedTypeUnavailable    EQU        -15009                ; Command item could not be represented in the form requested 
  204. kDETInvalidDSSpec                EQU        -15010                ; Could not resolve DSSpec (other than in target; see error above for targets) 
  205. kDETUnableToAccessProperty        EQU        -15011                ; Property could not be found and/or created 
  206. kDETInfoPageNotOpen                EQU        -15012                ; Info-page not open; request requires an open info-page 
  207. kDETNoSuchView                    EQU        -15013                ; No view found with specified property number 
  208. kDETCouldNotAddMenuItem            EQU        -15014                ; Could not add item to dynamic menu 
  209. kDETCouldNotRemoveMenuItem        EQU        -15015                ; Could not remove item from dynamic menu 
  210. kDETCouldNotFindMenuItem        EQU        -15016                ; Could not find menu item 
  211. kDETCouldNotFindCustomView        EQU        -15017                ; Could not find custom view in info-page 
  212. kDETInvalidReqFunction            EQU        -15018                ; Invalid call-back request function 
  213. kDETInvalidCallBack                EQU        -15019                ; Invalid call-back (for reasons other than those above) 
  214. kDETPropertyBusy                EQU        -15020                ; Edit is open on the property being set 
  215. ;  AOCE Mail Errors (-15040 to -15089) 
  216.  
  217. kMailInvalidOrder                EQU        -15040                ; This object has already been written to and cannot be written again 
  218.                                                             ; handle non-zero offsets for now 
  219. kMailInvalidSeqNum                EQU        -15041                ; Invalid letter sequence o refers to an non–existent letter 
  220. kMailAttrNotInHdr                EQU        -15042                ; attribute does not exist in this letter header 
  221. kMailHdrAttrMissing                EQU        -15043                ; required attribute not written into letter header 
  222. kMailBadEnclLengthErr            EQU        -15044                ; incorrect number of bytes has been written after memForm of PutEnclosure 
  223. kMailInvalidRequest                EQU        -15045                ; cannot putAttr for report, putRcptReport for letter 
  224. kMailInvalidPostItVersion        EQU        -15046                ; cannot create new postit with this version 
  225. kMailNotASlotInQ                EQU        -15047                ; queueID does not refer to a slot's incoming queue 
  226. kMailLtrNotOpen                    EQU        -15048                ; letter is not open, probably not cached in inQ 
  227. kMailMissingMailCat                EQU        -15049                ; trying to create message in inq, with no postIt 
  228. kMailCannotWriteMailCat            EQU        -15050                ; cannot update a mail catentry 
  229. kMailTooManyTagsPerLetter        EQU        -15051                ; cannot add more than kMaxTagsPerLetter tags 
  230. kMailGwyDead                    EQU        -15052                ; MSAM died 
  231. kMailIgnoredErr                    EQU        -15053                ; ePPC message was ignored 
  232. kMailLengthErr                    EQU        -15054                ; ePPC message did not complete 
  233. kMailTooManyErr                    EQU        -15055                ; Too many = request outstanding, 
  234. kMailNoMSAMErr                    EQU        -15056                ; no MSAMs found in mailbox! or for command 
  235. kMailCancelled                    EQU        -15057
  236. kMailSlotSuspended                EQU        -15058
  237. kMailMSAMSuspended                EQU        -15059
  238. kMailBadSlotInfo                EQU        -15060
  239. kMailMalformedContent            EQU        -15061                ; a mailed structure is malformed 
  240. kMailNoSuchSlot                    EQU        -15062                ; no such slot 
  241. kMailBadLtrInfo                    EQU        -15063                ; bad info there, can't change 
  242. kMailSetFailed                    EQU        -15064                ; could not set letter info 
  243. kMailBadConfig                    EQU        -15065                ; MSAM has bad config info 
  244. kMailBadMSAM                    EQU        -15066                ; bad MSAM: not usable = reason unspec, 
  245. kMailCannotLkupServerSlots        EQU        -15067                ; cannot lookup adas for server mail slots 
  246. kMailBadState                    EQU        -15068                ; the state specifiy is not in any of defined 
  247. ;  AOCE Messaging Errors (-15090 to -15169) 
  248.  
  249. kIPMCantCreateIPMCatEntry        EQU        -15090
  250. kIPMInvalidMsgType                EQU        -15091                ; bad msg hint 
  251. kIPMInvalidProcHint                EQU        -15092                ; bad proc hint 
  252. kIPMInvalidOffset                EQU        -15093                ; bad offset for read/write 
  253. kIPMUpdateCatFailed                EQU        -15094
  254. kIPMMsgTypeReserved                EQU        -15095
  255. kIPMNotInABlock                    EQU        -15096
  256. kIPMNestedMsgOpened                EQU        -15097
  257. kIPMA1HdrCorrupt                EQU        -15098
  258. kIPMCorruptDataStructures        EQU        -15099
  259. kIPMAbortOfNestedMsg            EQU        -15100
  260. kIPMBlockIsNotNestedMsg            EQU        -15101
  261. kIPMCacheFillError                EQU        -15102
  262. kIPMInvalidSender                EQU        -15103
  263. kIPMNoRecipientsYet                EQU        -15104
  264. kIPMInvalidFilter                EQU        -15105
  265. kIPMAttrNotInHdr                EQU        -15106
  266. kIPMBlkNotFound                    EQU        -15107
  267. kIPMStreamErr                    EQU        -15108                ; Error on stream (should this ever go out?) 
  268. kIPMPortClosed                    EQU        -15109                ; Port closed (should this ever go out?) 
  269. kIPMBinBusy                        EQU        -15110
  270. kIPMCorruptedBin                EQU        -15111
  271. kIPMBadQName                    EQU        -15112
  272. kIPMEndOfBin                    EQU        -15113
  273. kIPMBinNeedsConversion            EQU        -15114
  274. kIPMMgrInternalErr                EQU        -15115
  275. kIPMEltBusy                        EQU        -15116
  276. kIPMEltClosedNotDeleted            EQU        -15117
  277. kIPMBadContext                    EQU        -15118
  278. kIPMContextIsClosing            EQU        -15119
  279. kIPMeoQ                            EQU        -15120
  280. kIPMQOutOfSpace                    EQU        -15121
  281. kIPMEltNotFound                    EQU        -15122
  282. kIPMBinOutOfSpace                EQU        -15123
  283. kIPMeoCatEntry                    EQU        -15124
  284. kIPMeoElt                        EQU        -15125
  285. kIPMQBusy                        EQU        -15126
  286. kIPMNotSameBin                    EQU        -15127
  287. kIPMNoMoreServices                EQU        -15128
  288. kIPMLookupAttrTooBig            EQU        -15129                ; attribute in lookup is too big 
  289. kIPMUnknownUAM                    EQU        -15130
  290. kIPMUnsupportedLogin            EQU        -15131
  291. kIPMLogInUnknown                EQU        -15132
  292. kIPMNoMoreFilters                EQU        -15133
  293. kIPMCouldNotReadInfoReply        EQU        -15134
  294. kIPMInvalidUser                    EQU        -15135
  295. kIPMNoMoreSessions                EQU        -15136
  296. kIPMNilUserProc                    EQU        -15137
  297. kIPMBadCatSize                    EQU        -15138
  298. kIPMIncompleteMsg                EQU        -15139
  299. kIPMNoResponsibleTunnel            EQU        -15140
  300. kIPMAccessDenied                EQU        -15141
  301. kIPMReplyParamUnderrun            EQU        -15142                ; Too few reply parameters 
  302. kIPMReplyParamOverrun            EQU        -15143                ; Too many reply parameters 
  303. kIPMRequestParamUnderrun        EQU        -15144                ; Too few request parameters 
  304. kIPMOutOfSync                    EQU        -15145                ; Protocol sync. error 
  305. kIPMNoAttrsFound                EQU        -15146                ; couldn't find any attrs in lookup 
  306. kIPMWrongAttrTag                EQU        -15147                ; wrong attr tag in adas lookup 
  307. kIPMNullCID                        EQU        -15148                ; null cid in enumerate 
  308. kIPMBadMailSlotAttrVal            EQU        -15149                ; invalid mailslot attr value 
  309.  
  310.     ENDIF ; __OCEERRORS__ 
  311.  
  312.